package com.czytqg.subject.application.convert;

import com.czytqg.subject.application.dto.SubjectInfoDTO;
import com.czytqg.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 题目信息DTO的转换
 * 
 * @Author:  CZY
 * @date:  2024/5/25 22:04
 */
@Mapper
public interface SubjectInfoDTOConverter {

    SubjectInfoDTOConverter INSTANCE = Mappers.getMapper(SubjectInfoDTOConverter.class);

    SubjectInfoBO convertDTOToInfoBO(SubjectInfoDTO subjectInfoDTO);

    SubjectInfoDTO convertBOToDTO(SubjectInfoBO boResult);
}

